package com.hyf.serviceedu.mapper;

import com.hyf.serviceedu.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hyf.serviceedu.entity.condition.CoursePublishVo;
import com.hyf.serviceedu.entity.condition.CourseinfoVo;
import com.hyf.serviceedu.entity.vo.CourseWebVo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author atguigu
 * @since 2021-04-21
 */
public interface EduCourseMapper extends BaseMapper<EduCourse> {
    // 根据课程id 查询课程信息
     public CoursePublishVo getCoursePublishVo(String courseId);
    
//    关联查询课程和讲师信息
    CourseWebVo getBaseCourseInfo(String courseId);
}
